package com.example.demo.qy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

@Controller
public class TemplateController {

    @RequestMapping("/helloHtml")
    public String helloHtml(Map<String,Object> map){
        map.put("helloText","from TemplateController.helloHtml");
        return "/hello";
    }

}
